package com.cdn.client.netty.utils;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "rpc")
public class RpcProperties {

    private String[] endpoints;

    private Long nodeId;

    private Integer port;

}
